Skip to content

[omd/develop] sync with noaa/dev - #330

Merged
JiliDong-NOAA merged 11 commits into
ufs-community:omd/developfrom
JiliDong-NOAA:omd/develop
Dec 1, 2026
Merged

JiliDong-NOAA merged 11 commits into
ufs-community:omd/developfrom
JiliDong-NOAA:omd/develop

Conversation

@JiliDong-NOAA

@JiliDong-NOAA JiliDong-NOAA commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Sync with noaa/develop on 12/01/2026

Testing and relations to other Pull Requests should be added as subsequent comments.

See the below examples for more information.
MPAS-Dev/MPAS#930
MPAS-Dev/MPAS#931

Mandatory Questions

  • Does this PR include any additions or changes to external inputs (e.g., microphysics lookup tables, static data for gravity-wave drag -- things like that)?
    • yes or no
  • Does this PR require updating one or more baselines for the CI tests? If so, what?
    • yes or no; if yes, provide more details

Reviews

  • Is this PR currently draft, still being worked on, or ready for review?
    • draft, still being worked on, ready for review
  • For when this PR begins review, please list the developers/collaborators you'd like to prioritize for review; e.g.,:

JiliDong-NOAA and others added 11 commits October 28, 2026 13:58
…-Dev#301)

* update mpas init temperature extrapolation options

* fix bugs and enhance code for init extrapolation updates

* remove empty line

* Update README.md

---------

Co-authored-by: Jili Dong <Jili.Dong@gaea62.ncrc.gov>
Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
…n full debug mode (MPAS-Dev#302)

* bug fix for running in full debug mode

* Update README.md

---------

Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
…CPP) (MPAS-Dev#303)

* updating MYNN-EDMF pointer

* minor updates

* fixing copilot issues

* changed tabs to spaces, as copilot recommends

* adding conditionals for pointer allocations

* adding granularity to the 2d diagnostic packages

* fix spacing in Registry and fix intialization of 2d diags in pbl driver

* incrementing the subversion number to 1.19

* final updating of MYNN-EDMF pointer

* Update README.md

---------

Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
…t" (MPAS-Dev#305)

* add a namelist option "config_coordinate_smoothing_height"

* apply changes from review

* Update README.md

---------

Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
* - Update Makefile to include TEMPO module configurations
- Update driver to for threadsafe emissions subroutine

* tempo version 3.2.0

* tempo version 3.2.1

* tempo version 3.2.2

* tempo version 3.2.3

* tempo version 3.2.4

* Update README.md

---------

Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
Co-authored-by: Clark Evans <clark.evans@noaa.gov>
* init_atmosphere: add 21-class MODIS land use with lakes

New config_landuse_data option 'MODIFIED_IGBP_MODIS_NOAH_LAKES' reads the
WPS dataset modis_landuse_20class_30s_with_lakes/ (category 21 = lakes):

- Registry: nlcat = 21 for the new option; new mesh field islake_lu
  (default -1) in the input and output streams.
- MMINLU stays 'MODIFIED_IGBP_MODIS_NOAH', so the RUC LSM selects the
  21-row MODI-RUC table in VEGPARM.TBL.
- interp_landuse returns islake from the dataset index file, and stops if
  the dataset's category count does not match nlcat.
- Lake points keep lu_index = islake_lu (they are no longer converted to
  iswater_lu by the soil/land use consistency check) and get water soil.
- derive_landmask treats lake points as water (landmask = 0).
- The static step stops if the new option is used with a dataset that has
  no lake category.

Static files without islake_lu still work: MPAS warns that the variable is
not in the input file and keeps the default (-1).

* init_atmosphere: nullify aerosol first-guess pointers before conditional fetch

smoke_fine_fg, dust_fine_fg and dust_coarse_fg in init_atm_case_gfs and
init_atm_case_lbc are only set when config_smoke_scheme / config_dust_scheme
are on, but are later tested with associated(). With the schemes off the
pointers are undefined, so associated() can return true and the code reads
through a garbage descriptor: segfault with optimized gfortran builds,
'index below lower bound' with -fcheck=bounds (mpas_init_atm_cases.F:7357).

* CI: add make_ics workflow to test init_atmosphere

New workflow .github/workflows/make_ics.yml builds init_atmosphere_model from
the branch under test and creates static, init, lbc and sfc_update files for
four 120 km CONUS cases: conus_gfs, conus_raps, conus_rapw (20-class MODIS
land use) and conus_rapw_lake (21-class MODIS with lakes). Static files are
made once per land-use variant and cached on the init_atmosphere source;
each case is checked with check_ics.py (nlcat, islake_lu, lake points are
water, no NaN/Inf, LBC times) and uploaded as an artifact.

Scripts and namelists are in testing_and_setup/ufs-community/ics/, taken
from dustinswales/mpas-ic-factory; inputs come from release
init-inputs-v1.0.0 of this repository (copy_inputs_release.sh copies them
from the factory). The existing run_mpas* workflows are unchanged.

* make_ics: run the summer RAP case with and without lakes

Use only the summer RAP case (2024081518), whose ungrib inputs are 1.3 GB
against 8 GB for GFS and 16 GB for winter RAP: conus_raps (20-class MODIS)
and the new conus_raps_lake (21-class MODIS with lakes). The conus_gfs,
conus_rapw and conus_rapw_lake case files stay for running by hand.

copy_inputs_release.sh now copies only the bundles the workflow uses by
default (about 6 GB); -a copies everything, -b chooses.

* make_ics: add the GFS case

Run conus_gfs alongside conus_raps and conus_raps_lake, so the GFS init path
and the sfc_update step are tested too. conus_gfs shares the 20-class static
file with conus_raps, so there are still two static jobs.

copy_inputs_release.sh: default destination tag v8.4.2-1.19 (INPUTS_TAG),
and the default bundles now include ungrib-gfs.2023031015 and
ungrib-sst.2023031015 (about 14 GB in all). Assets already in the release
are skipped, so re-running it adds only the GFS bundles.

* make_ics: add a GFS lake case

Add conus_gfs_lake: the GFS case (2023031015) with the 21-class MODIS
land use with lakes. It shares the lakes static file with conus_raps_lake,
so there are still two static jobs, and it exercises the sfc_update step
over lake points. No new inputs are needed.

* Add islake to core_atmosphere registry. Only used by UFS-MPAS.

* Update CI script to point to new release asset

* make_ics: add a Noah-MP GFS case

conus_gfs_noahmp makes GFS ICs for Noah-MP: 4 soil levels, with the NCAR
init/lbc/sfc_update namelists from barlage/mpas_testcase (55 levels, 30 km
top), as used by the mesoscale_reference_noahmp run tests. It shares the
20-class static file with conus_gfs, which already has the Noah-MP static
fields (config_noahmp_static defaults to true).

- create_case.sh: optional nml_variant per case selects
  case_files/<step>/<source>.<date>.<nml_variant>
- check_ics.py: check nSoilLevels (4 with --noahmp, 9 otherwise) and, with
  --noahmp, soilcomp and soilcl1-4 over land
- make_ics.yml: add the case; the matrix "lakes" key is now "checks"

* make_ics: add a 10-layer Noah-MP GFS case

init_atmosphere: config_nsoillevels = 10 now gives a 10-layer soil set for
Noah-MP (dzs = 0.05 0.10 0.10 0.10 0.30 0.35 0.50 1.00 1.00 1.50 m, 5 m deep),
with soil temperature and moisture interpolated as for the 4-layer set.
Layers centered below the deepest input level (3 m, the deep soil
temperature) take the deepest input values instead of being left unset.
The 4- and 9-level sets are unchanged.

conus_gfs_noahmp10 is conus_gfs_noahmp with 10 soil layers. check_ics.py
gets --soil-levels N and, for Noah-MP cases, checks that every soil level of
tslb and smois is plausible over land.

* physics_init_seaice: keep frozen lakes as lakes

Ice-covered cells are converted to land-ice cells (lu_index = isice_lu, soil
category 16, xland = 1, tmn = 271.4, soil state recomputed). That also caught
lake cells (lu_index = islake_lu), so frozen lakes lost their lake category in
init.nc and were never handed to the lake model.

Frozen lake cells now keep their lake land use and water soil categories,
landmask, xland and tmn, and only record the ice state: seaice = 1, xice set
to 1 when the cell was flagged by the skin-temperature test alone, and the
same snow-albedo, vegfra and snow-depth limits as sea ice. Nothing changes
when the land use dataset has no lake category (islake_lu = -1).

Addresses a Copilot review comment.

* Update version number

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Clark Evans <clark.evans@noaa.gov>
… TOFD coefficient (MPAS-Dev#311)

* Made UGWP alpha_fd coefficient for TOFD a namelist option

* Updated Externals.cfg to current UGWP tag

* Added output of 'alpha_fd' coefficient to log file in mpas_atmphys_init.F

* Added 'kind=RKIND' to alpha_fd declaration in mpas_atmphys_driver_gwdo.F

* Updated link to submodule 'physics_noaa/UGWP'

* Update README.md

---------

Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
…Dev#316)

* remove 5 changing fields from the invariant stream
* Update README.md

---------

Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
* updating MYNN-SFC pointer
* updating MYNN-SFC pointer with fixes suggested by Claude
* Update version number

---------

Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
Co-authored-by: Clark Evans <clark.evans@noaa.gov>
* updating MYNN-EDMF pointer to v6.1.1
* Update version number

---------

Co-authored-by: Dustin Swales <dustin.swales@noaa.gov>
Co-authored-by: Clark Evans <clark.evans@noaa.gov>
@JiliDong-NOAA

Copy link
Copy Markdown
Collaborator Author

not sure why 4 CI tests failed with "sudo: 'apt-key': command not found" error but it seems to be happening for other PRs as well

@dustinswales

Copy link
Copy Markdown
Collaborator

not sure why 4 CI tests failed with "sudo: 'apt-key': command not found" error but it seems to be happening for other PRs as well

@JiliDong-NOAA No need to worry about this. We are fixing this in a CI update. See #319

@JiliDong-NOAA
JiliDong-NOAA merged commit da578cd into ufs-community:omd/develop Dec 1, 2026
28 of 34 checks passed
@github-project-automation github-project-automation Bot moved this from Not assigned to Done in MPAS-A PRs to process Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants